package bean;

public class Order {
	//添加测试
	
	@Override
	public String toString() {
		return "Order [oid=" + oid + ", oname=" + oname + ", ocode=" + ocode
				+ "]";
	}
	private Integer oid;
	private String oname;
	private String ocode;
	
	private Person person;
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public Integer getOid() {
		return oid;
	}
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	public String getOname() {
		return oname;
	}
	public void setOname(String oname) {
		this.oname = oname;
	}
	public String getOcode() {
		return ocode;
	}
	public void setOcode(String ocode) {
		this.ocode = ocode;
	}
	

}
